package com.example.demo.service;

import java.util.List;

import com.example.demo.entity.Role;
import com.example.demo.entity.RoleAndPermission;

/**
 * 角色操作类
 * @author Henry.Y
 * @data 2019-05-24
 */
public interface RoleService {

    public Role createRole(Role role);
	
	public int deleteRole(String id);
	
	public int correlatePermission(List<RoleAndPermission> roleAndPermissionList);
	
	public int uncorrelatePermission(RoleAndPermission roleAndPermission);
	
	public int deleteRoleTable();
}
